package com.example.certificate.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author Hao
 * @date 2022年01月20日 13:27
 */
@Data
@ApiModel(value = "用户信息")
public class UserInfoVo {

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("性别")
    private String gender;

    @ApiModelProperty("联系方式")
    private String phone;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("用户头像")
    private String image;

    @ApiModelProperty("年龄")
    private String nickname;


    @ApiModelProperty("角色")
    private String roleId;

    @ApiModelProperty("账号状态")
    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "标签")
    private String label;

    @ApiModelProperty(value = "身份证号码")
    private String identityCard;

    private Integer selectStatus;

    private String password;
}
